package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;

public interface MemberService {
    //根据手机号查询会员
    public Member findByTelephone(String telephone);
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);

    PageResult findPage(QueryPageBean queryPageBean);
    //新增会员
    void addMember(Member member);
    //回显数据
    Member findByMember(Integer id);
    //编辑会员
    void editMember(Member member);
    //删除会员
    void deleteMember(Integer id);

    Integer getMemberAge(String s);
}
